<script>
	$(function() {
		$("#to_gaeri").dialog({
			modal:true
			,resizable:false
			,width:450
			,buttons: {
				"닫기" : function() {
					$( this ).dialog( "close" );
				}
			}
		});	
	});
</script>
<h2 class="dash">알림판</h2>
<section class="section1">
	<div class="anniversary">
		<div class="area_title">
			<div class="title">
				<h3>
					<span class="name_title">akddd & gaeri</span>
					<span class="sub_title">기념일 현황</span>
				</h3>
			</div>
			<div class="detail">
				<a href="{CFG->PATH->WWWADMIN}/anniversary/" class="details">▶ 자세히보기</a>
			</div>
		</div>
		<div class="aani_container">
			<div class="anni_content">
				<div class="big">
					<h3>TODAY : {= date("Y-m-d")}</h3> 
					<ul>
						{@ main_list}
						<li>
							<a href="{CFG->PATH->WWWADMIN}/anniversary/view/{.value_->ay_seq}">
								<p class="day_title">
									<img src="{CFG->PATH->IMAGE}/icons/heart_b.png" alt="" />
									{.value_->ay_name}
								</p>
								<p class="day">D{.value_->days}</p>
							</a>	
						</li>
						{/}
					</ul>
				</div>
				<div class="anni_list">
					<div class="anni_list_content">
						<h3>기념일 정보</h3>
						<ul class="list">
							{@ list}
							<li>
								<a href="{CFG->PATH->WWWADMIN}/anniversary/view/{.value_->ay_seq}" class="anni">
									<div class="anni_name {? (.index_ % 2) == 0}akddd{:}gaeri{/} ">{.value_->ay_name}</div>
									<div class="anni_day">{.value_->display_day} (<span class="red">D{.value_->days}</span>)</div>
								</a>
							</li>
							{/}
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
</section>
<section class="section1">
	<div class="latest">
		<div class="latest_cell">
			<div class="area_title hr">
				<div class="title">
					<h3>
						최신글
					</h3>
				</div>
				<div class="detail">
					<a href="#" class="details">▶ 더보기</a>
				</div>
			</div>
			<ul class="list">
				<li>
					<a href="#">
						<div class="subject gaeri">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject akddd">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject gaeri">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject gaeri">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject akddd">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
			</ul>
		</div>
		<div class="latest_cell">
			<div class="area_title hr">
				<div class="title">
					<h3>
						최신글
					</h3>
				</div>
				<div class="detail">
					<a href="#" class="details">▶ 더보기</a>
				</div>
			</div>
			<ul class="list">
				<li>
					<a href="#">
						<div class="subject gaeri">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject akddd">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject gaeri">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject gaeri">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
				<li>
					<a href="#">
						<div class="subject akddd">테스트테스트테스트</div>
						<div class="etc">2011-03-04</div>
					</a>
				</li>
			</ul>
		</div>
	</div>
</section>
<section class="section1">
	<div class="area_title hr">
		<div class="title">
			<h3>
				사진
			</h3>
		</div>
		<div class="detail">
			<a href="#" class="details">▶ 더보기</a>
		</div>
	</div>
	<script>
		$(function() {
			$('#slider').nivoSlider();
		});	
	</script>
	<div class="slider-wrapper">    
        <div id="slider" class="nivoSlider">
			<img src="{CFG->PATH->IMAGE}/toystory.jpg" alt="" />
            <img src="{CFG->PATH->IMAGE}/walle.jpg" alt="" />
            <img src="{CFG->PATH->IMAGE}/nemo.jpg" alt="" title="#htmlcaption" />
        </div>
		<div id="htmlcaption" class="nivo-html-caption">
			title링크걸면 이게 표시됨.
		</div>
	</div> 
</section>
<div id="to_gaeri" title="사랑해요~"> 
	사랑해♥<br />
	사랑해♥<br />
	사랑해♥<br />
	사랑해♥<br />
	사랑해♥<br />
	사랑해♥<br />
	사랑해♥<br />
	사랑해♥<br />
</div>  